cURL
curl --request DELETE \ --url https://api.openstack.ai/v1/webhooks/subscriptions/{subscriptionId} \ --header 'Authorization: Bearer <token>'
{ "deactivated": true, "subscription": { "id": "<string>", "paywallId": "<string>", "url": "<string>", "events": [ "<string>" ], "isActive": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "secretSuffix": "<string>", "description": "<string>", "customHeaders": {}, "createdBy": "<string>", "consecutiveFailures": 123, "lastDeliveredAt": "2023-11-07T05:31:56Z", "secret": "<string>" } }
Marks the subscription as inactive to stop future deliveries.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier of the webhook subscription.
Subscription deactivated.
true
Configuration for a webhook endpoint that receives paywall events.
Show child attributes
Unique identifier for the subscription.
Paywall identifier that owns this webhook.
HTTPS destination for webhook deliveries.
List of event keys (or *) that trigger deliveries.
*
Indicates whether deliveries are attempted.
Last six characters of the signing secret for display purposes.
Optional human-readable label for the subscription.
Optional static headers included with every delivery.
Identifier of the paywall owner that created the subscription.
Number of consecutive failed delivery attempts.
Timestamp of the most recent successful delivery.
Full signing secret, only returned right after creation.